################################################################################################
################################################################################################
################################################################################################
########### Crusader Kings II Technology & Buildings Modification by flogi
################################################################################################
################################################################################################
################################################################################################

################################################################################################
################################################################################################
########### Version 6.6.4 (XXXX) with Trade Route Addon (XXXX)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Adjusted files to work with the new patch
- Fixed some Database Issues

################################################
########### Technology
################################################

- Added the Tactic Technologies from Vanilla (kept Heavy/Light Infantry)
- Ship Building now economy tech (Kept City/Temple Infrastructure)
- Added Court Administration for Culture Tech
--> One tech more for every category

################################################################################################
################################################################################################
########### Version 6.6.3 (TJSZ) with Trade Route Addon (CJIQ)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Adjusted files to work with the new patch
- Fixed some reported issues for the CK2 Plus Patch

################################################################################################
################################################################################################
########### Version 6.6.2 (XKBB) with Trade Route Addon (SCBP)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Added 5 Game Rules: Map Selection (for CK2+ and HIP Compatibility), Retinue (Vanilla/Techmod/Ck2+), Laws (Vanilla/Techmod), Economy Decisions (Vanilla/Techmod), Revolt System (An/Aus)
- Small Fixes
- Improved Compatibility with other mods
- Removed some old code not needed anymore
- Removed tax modifiers from bank laws
- Removed higher chance for the chancellor to fabricate claims
- All mod events using namespace now
- Added Ck2+ Comppatch (seperate Mod)

################################################
########### Buildings
################################################

- Ck2 Plus + HIP Compatibility for resource buildings (choose the correct map on your game options)
- Fort: 6 new building chains (Main Building, Outpost, Keep, Barracks, Range, Stables)
- Fishing Ports are now buildable on great lakes and rivers as well
- Nomad buildings have higher and more tech requirements
- Tribal buildings have higher and more tech requirements
- Hospitals have higher and more tech requirements
- Treasure Chambers (capital building) will provide some fort level 
- Capital Buildings are no longer deleted when you move your capital. They are just deactivated and can be used again if the capital is moved back
- New capital Building: Garrison 
- New captial Buildigns: Special Troop Training Grounds, erlaubt, allows recruiting special retinue if you are employing the correct marshal
- Improved building logic of the AI

################################################################################################
################################################################################################
########### Version 6.6.1(2) (OUJA) with Trade Addon (HYRP)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Fixed an issue with the Court Architect Guild having no effect
- Fixed an issue with the investment decisions

################################################################################################
################################################################################################
########### Version 6.6.1 (MZBV) with Trade Addon (JTYU)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Readded special silk road buildings
- Fixed an issue with new cultural retinue types
- Changed terrain building specific character modifiers to province modifiers (makes more sense) 

################################################################################################
################################################################################################
########### Version 6.6.0 (DXXV) with Trade Addon (YBRM)
################################################################################################
################################################################################################

################################################
########### General
################################################


- Raised cost of special troops, knights and light cav
- New castle building chain to raise fort level
- Rebalanced some build cost and build time here and there
- Raised invading troops of mongols and seljuks considerably


################################################################################################
################################################################################################
########### Version 6.5.0 (ARPK) with Trade Addon (IUPA)
################################################################################################
################################################################################################

################################################
########### General
################################################


- AI character now need to be landed and at least 16 to lend money
- Women laws are available a little earlier
- Reduced some capital building bonuses (health, fertility, prestige, piety, opinion)
- Fixed some incorrect tooltips
- Reduced income from some buildings, raised building costs in some cases
- Increased cost to build new holdings 


################################################################################################
################################################################################################
########### Version 6.4.3 (ZLNV), with Trade Route Addon: (HNNM)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Adjusted files to work with the new patch


################################################################################################
################################################################################################
########### Version 6.4.2 (XJHS), with Trade Route Addon: (FLHI)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Adjusted files to work with the new patch

################################################################################################
################################################################################################
########### Version 6.4.1 (VHCO), with Trade Route Addon: (DJCF)
################################################################################################
################################################################################################


################################################
########### General
################################################

- Now supporting French language again


################################################################################################
################################################################################################
########### Version 6.4.0 (EQPC), with Trade Route Addon: (MSPS)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Adjusted files to work with the new patch
- The magyar culture group can now recruit crossbowmen and build the corresponding buildings
- Reworked the trade post buildings connected to trade routes, now everything is working how it should
- Adjusted the new conclave mechanics to work with the laws I added, might need some balancing though

################################################################################################
################################################################################################
########### Version 6.3.4 (QHNW) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- Exported the new trade routes in a seperate mod, so that it is easier to switch them on and off between games


################################################################################################
################################################################################################
########### Version 6.3.2 (YJNE) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- Fixed a problem with legal laws

################################################################################################
################################################################################################
########### Version 6.3.1 (SPRH) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- Improved performence for some events
- Fixed: Money lending decisions now work correctly for tribes and nomads
- Nomads now have no access to banking laws

################################################################################################
################################################################################################
########### Version 6.3 (YPGH) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- New trade system in Europe (Horse Lords will be required to use this, however it doesn't hurt to don't have the expansion for the overall experience)
- New retinue system for the AI, AI will now use the full limit of retinues and build their culture specific retinue type
  The AI can build retinue under the following conditions: a) All independent AI Characters can build retinue, Duke Vasalls with 2 Duke titles can build retinues, and King Vasalls also can build them
  (decreases AI retinue, improves performence and more or less removes the annoying problems that you would run into countless retinue stacks when waging war on someone, costing warscore from battles)
- Reworked money lending for AI again, AI should now do it a bit less

################################################
########### Buildings
################################################

- Nerved the keep for castles a bit, the later versions won't give so many more troops
- Tribal buildings give some more troops
- Berserkers are now available for tribals as well (in specific regions)


################################################################################################
################################################################################################
########### Version 6.2.2 (LVGS) (with Betapatch 2.4.2)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Using the vanilla battle tactics again (my system really was buggy since the last patch and appears to have caused some bugs)
- Changed the way the martial points affect the holding levy size (now 2% per Skillpoint, if you have 5 martial you'll be at 100% percent levy (no bonus, no malus)
- Reduced the prestige costs of some tribal buildings

################################################################################################
################################################################################################
########### Version 6.2.1 (STYV) (with Betapatch 2.4.2)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Adjusted the changes made to the culture specific buildings in the patch
- Now just overriding the defines needed for the mod (should improve compatibility with other mods)
- Added techpoints for nomad buildings (may need more balancing)
- Adjusted the retinue changes as well


################################################################################################
################################################################################################
########### Version 6.2.0 (JEMI) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- Adjusted files to the new patch
- Removed the mod "Deutschkorrektur" until there's a new patch compatible version
- Reworked the combat tactics again due to the change to the commander system. Flanks without commanders will now have tactics 1 and 2 (of 5) available without tech requirements
- Tuned down the money lending decisions a bit (after the new patch the AI seems to love this system)

################################################################################################
################################################################################################
########### Version 6.1.4 (BBWW) 
################################################################################################
################################################################################################

- Mercenary now also depend on the tech level of the capitals employer when "choosing" battle tactics
- Increased warscore from occupying the capital of a realm but decreased the warscore from occupying vassal holdings

################################################################################################
################################################################################################
########### Version 6.1.3 (WZCR) 
################################################################################################
################################################################################################

- Now using weight_multiplier instead of MTTH on some events (should improve the performence a bit)

################################################################################################
################################################################################################
########### Version 6.1.2 (SGWM) 
################################################################################################
################################################################################################

- Tribes now cannot enact banking laws 
- Hopefully fixed the back and forth changing now for feudal realms as well


################################################################################################
################################################################################################
########### Version 6.1.1 (WXUC) 
################################################################################################
################################################################################################

- Some more rebalancing concerning battle tactics
- Fixed a spelling issue

################################################################################################
################################################################################################
########### Version 6.1 (DJWP) 
################################################################################################
################################################################################################


################################################
########### General
################################################

- 21 additional new mercenary stacks for the indian/persian region
- Did a bit rebalancing concerning some very strong battle tactics

################################################################################################
################################################################################################
########### Version 6.0 (WXAU) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- 52 new mercenary stacks to hire (some of them also have berserkers and crossbowmen)
- Banking laws are no longer changed back and forth (hopefully)
- Tweaked some events to improve performence

################################################
########### Buildings
################################################

- A completely new resource system of buildings. The buildings are distributed according to the special qualities of provinces.
  The new resources are: Furs, Wine, Cloths, Wool, Dyes, Spice, Carpets, Southern Fruits, Amber, Timber, Salt, Gold, Silver, 
  Copper, Iron, Jewels, Sulphur, Marble, Glass, and Naval Supplies (overall 20)
- There are also new buildings concerning trade posts
- Reduced economy techpoints of university
- Reduced culture techpoints of temple holdings
- Raised build time of the capital buildings and also raised the AI preference for building them
- The buildings of the family places give more techpoints
- Changed the description of the noble district (was slightly misleading)
- New building for trade posts: Recruiting Office

################################################
########### Retinue & Units
################################################

- Reduced retinue numbers to the old level (500/Stack), also did some more tweaks, the best retinues are now available at techlevel 4
- Retinue Upkeep was raised considerably
- Reduced the retinue bonus granted from military organisation a bit
- Berserkers upkeep reduced as they are pretty weak at long range defence
- Raised elephant costs





################################################################################################
################################################################################################
########### Version 5.1.3 (UEBE) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- Further improved tribal conversion of buildings (many more buildings will be converted)



################################################################################################
################################################################################################
########### Version 5.1.2 (JQFS) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- Fixed conversion bug for tribal buildings

################################################################################################
################################################################################################
########### Version 5.1.1 (NNQA) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- Fixed a problem with the retinue
- Changed the money lending system as this was very cpu demanding and caused sync problems in multiplayer


################################################################################################
################################################################################################
########### Version 5.1 (DBHY) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- Marrying good women now costs a bit less for patricians
- Reduced the money you have to spend as family upkeep as patrician
- Reduced the age effect when it comes to election in republics
- Fixed some event texts
- The money lender trait is now only available to patricians and people who have an economic education
- The statue in tribal holdings has now a descrpition
- Fixed: The new culture specific buildings added in Charlemagne are now adjusted to the mod

################################################################################################
################################################################################################
########### Version 5.0 (ZHDB) 
################################################################################################
################################################################################################

################################################
########### General
################################################

- Elephants now stronger (cheaper and a bit better)
- Attrition in pagan territory is now removed at organisation 3 instead of 2
- Max leadership traits now 3
- Warscore begins to tick after 200 days when revolting now
- New economy and justice laws

################################################
########### Buildings
################################################

- Stage 1 und 2 of the noble district now add heavy_infantry instead of knights
- Stage 4 of the tribal holdings are now cheaper
- Tribal Holdings now have capital buildings as well (they are fully converted)
- Increased basic fort level for temples, cities and trade pots
- Market Villiage gives more money
- Terrain Buildings are sometimes available at game start now (esp. important for later scenarios)
- New Building: Streets (finally) for temples, cities and castles

################################################
########### Events & Decisions
################################################

- Brand new system lending money from other rulers who have the new trait "money lender," works with interest
- New investment system for republics. Can invest in their own country and in other countries
- Fixed: Terrian Events now working properly
- Fixed: Eventtexts for statue, bath house and court architect

################################################
########### Retinue
################################################

- Reworked retinues entirely, they now improve with technological progress and get better (meaning they are activated at a certain level and improve)
- Reworked the indian elephant retinue


################################################################################################
################################################################################################
########### Version 4.3.2 (MBBB) 
################################################################################################
################################################################################################


################################################
########### General
################################################

- Adjusted the files to work with the new patch
- Fixed some Bugs


################################################################################################
################################################################################################
########### Version 4.3 (XDYQ) 
################################################################################################
################################################################################################


################################################
########### General
################################################

- Adjusted the files to work with the new patch

################################################
########### Gebude
################################################

- Level 3 and 4 now cost gold instead of prestige (Tribal Holdings)
- Improved convertion from tribal holdings to feudal holdings



################################################################################################
########### Version 4.2.1 (IEZE) 
################################################################################################
################################################################################################

- Fixed theatre bug
- Fixed some things in the French localisation


################################################################################################
################################################################################################
########### Version 4.2 (MWZS) for Beta Patch 2.0.9
################################################################################################
################################################################################################

################################################
########### General
################################################

- Adjusted the files to work with the new patch


################################################
########### Buildings
################################################

- New settlement building for tribal holdings
- Added the terrain specific buildings for tribal holdings (like farms etc)
- Reworked some building costs
- Added techpoints for tribal holding buildings
- Some minor fixes



################################################################################################
################################################################################################
########### Version 4.1.1 (LRIJ)
################################################################################################
################################################################################################

################################################
########### General
################################################

- Adjusted the files to work with the new patch


################################################################################################
################################################################################################
########### Version 4.0 (WHDW)
################################################################################################
################################################################################################


################################################
########### General
################################################

- New Revoltsystem: Buildings give unrest, other buildings reduce unrest,  
- New battle tactic system: Tactics improve with technologic advance
- More troops for the chasars
- Technological development has been reduced
- Wrong Goverment Tax Mod reduced (now 25%)
- More possible tradeposts 

################################################
########### Buildings
################################################

- The culture specific buildings comply with the provinces culture not with the charakters anymore
- More steppe buildings at the beginning of the game
- Readjusted the build costs for new temples, castles and cities
- Reduced cost for trade posts
- New building: Officier Academy
- New capital building: Statue
- New capital building: Bath House
- New capital building: Court Architect Guild
- New building: Tax Collector
- New buildings: Swordmaster, Horse Breeder and Merchant Guild 
- New buildings: Poor District, Citizen District and Noble District for better development 
- New building: Poor House 
- New building for trade posts: Merchant Guild Office 
- New historical buildings: Notre Dame, Al-Aqsa Mosque, Hagia Sophia, The Third Temple, Apostolic Palace, Venetian Arsenal
- Fishing Ports don't give tech spread but some galleys
- Buffed castle forticications
- The main buildings of settlements don't give taxes anymore
- Fixed: Build & Cost bonuses now work via modifiers
- Some bugfixes


################################################
########### Retinue
################################################

- Reworked camel kav retinue
- Reworked horse archer retinue
- Reworked berserker retinue
- Retinues now cost 20% maintanence (former: 5%)

################################################
########### Events
################################################

- The orthodox holy order now triggers when the templars are active